package com.qfoud.edu.framwork.container;

import com.qfoud.edu.framwork.annotation.Interceptor;
import com.qfoud.edu.framwork.interceptor.base.AbstractInterceptor;

import java.util.Map;
import java.util.TreeMap;

/**
 * @author xiaobobo
 * @title: InterceptorContainer
 * @projectName cd-java-2303-project-parent
 * @description: 这个类是专门用来存放拦截器实例的
 * @date 2023/5/10  14:14
 */
public class InterceptorContainer {

    //这个容器就是专门用来存放我们的拦截器实例的
    private static Map<Integer, AbstractInterceptor> interceptorMap=new TreeMap<>();

    public  static Map<Integer, AbstractInterceptor> getInterceptorMap() {
        return interceptorMap;
    }
}
